<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="org.jbpm.context.exe.ContextInstance,org.jbpm.context.exe.ContextInstance,org.jbpm.JbpmConfiguration,org.jbpm.JbpmContext" %>
<%@ page import="org.jbpm.graph.def.ProcessDefinition,org.jbpm.graph.def.ProcessDefinition,org.jbpm.graph.exe.ProcessInstance" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
   	<fieldset>
    <legend>保安请假直通道</legend>
   	<form action="<%=basePath%>test.do">Leave
   		<input type="hidden" name="op" value="Leave"/>
   		<input type="hidden" name="userId" value="3"/>
   		<label>请假天数：</label>
   			<select name="day">
   				<option value="1">1天</option>
   				<option value="6">6天</option>
   				<option value="40">40天</option>
   			</select>
   		<br/>
   		<label>请假原因：</label><textarea rows="4" cols="50" name="reason"></textarea><br/>
   		<input type="submit">
   	</form>
   	</fieldset>
   	
 	<br/>
   	
   	<a href="<%=basePath%>test.do?op=myWaitList&userId=1">老板直通道</a>
   	<br/>
   	<a href="<%=basePath%>test.do?op=myWaitList&userId=2">经理直通道</a>
   	
  </body>
</html>
